{literal}
	<style>
    	#essai_fiche .chapitre p, td{font-size:12px;}
    </style>
{/literal}
<div id="global" class="search">
  {$oZoneHeader}
  <div id="main">
    {$oZoneBreadCrumb}
    <div id="leftContent2" style="font-size:12px;">
      <div id="essai_fiche">
        <h2>pièces auto {$marqueSelected} - pièces détachées {$marqueSelected}</h2>
        <div class="wrap">
          <div class="info2">
            <div style="margin-top:10px;" class="chapitre essai_home">
              <p class="titre">Pièces auto {$marqueSelected} d'occasion</p>
              <p><strong>{$nbRes}</strong> pièce(s) auto correspondent à vos critères. </p>
              <div class="all_listes2">
                <ul class="modeles">
                    {if ($modeleSelected === '')}
                        {foreach $modeles as $item}
                            <li><a href="{jurl 'annonce~FoAnnonceFAQ:listePieceAuto',array('marque'=>$marqueSelected,'modele'=>$item)}">{$marqueSelected} {$item}</a></li>
                        {/foreach}
                    {elseif ($pieceSelected === '')}
                        {foreach $piecesParModele as $item}
                            <li><a href="{jurl 'annonce~FoAnnonceFAQ:listePieceAuto',array('marque'=>$marqueSelected,'modele'=>$modeleSelected,'piece'=>$item)}">{$marqueSelected} {$item}</a></li>
                        {/foreach}
                    {/if}
                </ul>
              </div>
              <p><strong><u><a href="{jurl 'annonce~FoAnnonceFAQ:listePieceAuto',array('marque'=>$marqueSelected,'modele'=>$modeleSelected,'piece'=>$pieceSelected)}">Afficher toutes les pièces d'occasion {$marqueSelected} {$modeleSelected} {$pieceSelected}</a></u> : </strong></p>
              <table id="Lpieces" width="609" cellpadding="0" cellspacing="0" border="0">
                <thead>
                  <tr>
                    <th class="dep">Dept
                    	<span class="s1"><a class="asc" href="{jurl 'annonce~FoAnnonceFAQ:listePieceAuto',array('marque'=>$marqueSelected,'modele'=>$modeleSelected,'piece'=>$pieceSelected,'tri'=>1)}"></a><a class="des" href="{jurl 'annonce~FoAnnonceFAQ:listePieceAuto',array('marque'=>$marqueSelected,'modele'=>$modeleSelected,'piece'=>$pieceSelected,'tri'=>2)}"></a></span>
                    </th>
                    <th class="mq">Marque
                    	<span class="s2"><a class="asc" href="{jurl 'annonce~FoAnnonceFAQ:listePieceAuto',array('marque'=>$marqueSelected,'modele'=>$modeleSelected,'piece'=>$pieceSelected,'tri'=>3)}"></a><a class="des" href="{jurl 'annonce~FoAnnonceFAQ:listePieceAuto',array('marque'=>$marqueSelected,'modele'=>$modeleSelected,'piece'=>$pieceSelected,'tri'=>4)}"></a></span>
                    </th>
                    <th class="md">Modèle
                    	<span class="s3"><a class="asc" href="{jurl 'annonce~FoAnnonceFAQ:listePieceAuto',array('marque'=>$marqueSelected,'modele'=>$modeleSelected,'piece'=>$pieceSelected,'tri'=>5)}"></a><a class="des" href="{jurl 'annonce~FoAnnonceFAQ:listePieceAuto',array('marque'=>$marqueSelected,'modele'=>$modeleSelected,'piece'=>$pieceSelected,'tri'=>6)}"></a></span>
                    </th>
                    <th class="cl">Cylindrée/Finition
                    	<span class="s4"><a class="asc" href="{jurl 'annonce~FoAnnonceFAQ:listePieceAuto',array('marque'=>$marqueSelected,'modele'=>$modeleSelected,'piece'=>$pieceSelected,'tri'=>7)}"></a><a class="des" href="{jurl 'annonce~FoAnnonceFAQ:listePieceAuto',array('marque'=>$marqueSelected,'modele'=>$modeleSelected,'piece'=>$pieceSelected,'tri'=>8)}"></a></span>
                    </th>
                    <th class="pc">Pièce
                    	<span class="s5"><a class="asc" href="{jurl 'annonce~FoAnnonceFAQ:listePieceAuto',array('marque'=>$marqueSelected,'modele'=>$modeleSelected,'piece'=>$pieceSelected,'tri'=>9)}"></a><a class="des" href="{jurl 'annonce~FoAnnonceFAQ:listePieceAuto',array('marque'=>$marqueSelected,'modele'=>$modeleSelected,'piece'=>$pieceSelected,'tri'=>10)}"></a></span>
                    </th>
                    <th class="px">Prix
                    	<span class="s6"><a class="asc" href="{jurl 'annonce~FoAnnonceFAQ:listePieceAuto',array('marque'=>$marqueSelected,'modele'=>$modeleSelected,'piece'=>$pieceSelected,'tri'=>11)}"></a><a class="des" href="{jurl 'annonce~FoAnnonceFAQ:listePieceAuto',array('marque'=>$marqueSelected,'modele'=>$modeleSelected,'piece'=>$pieceSelected,'tri'=>12)}"></a></span>
                    </th>
                    <th class="if">Infos</th>
                  </tr>
                </thead>
                <tbody>
                  {assign $cptr = $iCurrentPage}
                    {foreach $listePieces as $piece}
                        <tr>
                            <td class="dep2">{$piece->P_departement}</td>
                            <td><a href="{jurl 'annonce~FoAnnonceFAQ:detailPieceAuto',array('iCurrentPage'=>$cptr,'marque'=>$marqueSelected,'modele'=>$modeleSelected,'piece'=>$pieceSelected,'tri'=>$tri)}">{$piece->P_marque}</a></td>
                            <td>{$piece->P_modele}</td>
                            <td>{$piece->P_cylindree} / {$piece->P_finition}</td>
                            <td><a href="{jurl 'annonce~FoAnnonceFAQ:detailPieceAuto',array('iCurrentPage'=>$cptr,'marque'=>$marqueSelected,'modele'=>$modeleSelected,'piece'=>$pieceSelected,'tri'=>$tri)}">{$piece->P_piece}</a></td>
                            <td>{$piece->P_prix} &euro;</td>
                            <td>
                                <a href="{jurl 'annonce~FoAnnonceFAQ:detailPieceAuto',array('iCurrentPage'=>$cptr,'marque'=>$marqueSelected,'modele'=>$modeleSelected,'piece'=>$pieceSelected,'tri'=>$tri)}">
                                    {$piece->P_piece}{$piece->P_marque}{$piece->P_modele}{$piece->P_cylindree} / {$piece->P_finition} de {$piece->P_annee}
                                </a>
                            </td>
                        </tr>
                        {assign $cptr++}
                    {/foreach}
                  
                </tbody>
              </table>
              <br />
              
              <div class="clear">&nbsp;</div>
                {if $iParPage != $nbRes}
                        {if $oNavBar->iNbPages > 1}
                            <div class="pagination">
                            {if $oNavBar->iPrevPage > 0}
                                <a class="prec" href="{jurl 'annonce~FoAnnonceFAQ:listePieceAuto',array('marque'=>$marqueSelected,'modele'=>$modeleSelected,'iCurrentPage' => $oNavBar->iPrevPage,'piece'=>$pieceSelected,'tri'=>$tri)}" title="Précedente">Préc.</a>
                            {else}
                                <a class="prec" title="Précedente">Préc.</a>
                            {/if}

                            <div class="cont">
                                <span>Page</span>
                                <ul>
                                    {foreach $oNavBar->tiPages as $iPage}
                                        <li>
                                            <a class="{if $iPage == $oNavBar->iCurrPage}active{/if}" href="{jurl 'annonce~FoAnnonceFAQ:listePieceAuto',array('marque'=>$marqueSelected,'modele'=>$modeleSelected,'iCurrentPage' => $iPage,'piece'=>$pieceSelected,'tri'=>$tri)}">{$iPage}</a>
                                        </li>
                                    {/foreach}
                                </ul>
                                    <span>... sur {$oNavBar->iNbPages}</span>
                            </div>
                            {if $oNavBar->iNbPages > $oNavBar->iCurrPage}
                                <a class="suiv" href="{jurl 'annonce~FoAnnonceFAQ:listePieceAuto',array('marque'=>$marqueSelected,'modele'=>$modeleSelected,'iCurrentPage' => $oNavBar->iNextPage,'piece'=>$pieceSelected,'tri'=>$tri)}" title="Suivante">Suiv.</a>
                            {/if}
                            </div>
                        {/if}
                {/if}
                <div class="clear">&nbsp;</div>
            </div>
            
          </div>
          <div class="more_link relative"><a href="#global" class="haut">Haut page pièces auto</a></div>
        </div>
        <div class="deco">&nbsp;</div>
      </div>
      <!-- end essai fiche--> 
    </div>
    <!-- end leftContent2-->
    
    <div id="rightContent">
    	{meta_html js $j_basepath.'design/front/js/carousel_custom2.js'}
 <div id="annonces2">{$oZoneDiapoAnnonce}</div>
    {$oZoneRightContent}
    </div>
    <div class="clear">&nbsp;</div>
  </div>
  <div id="SideBar"><a href="#global"><img alt="" src="{$j_basepath}design/front/images/top.png" title="" /></a></div>
</div>
{$oZoneFooter}{$oZonePubHidden}